<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{scVoteTransCommentBean.id}"/>
		<f:event type="preRenderView" listener="#{scVoteTransCommentBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sc Vote Trans Comment"/>

	<ui:define name="header">
		Sc Vote Trans Comment
	</ui:define>

	<ui:define name="subheader">
		View existing Sc Vote Trans Comment
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="scVoteTransCommentBeanScVoteTransCommentVoteCommentNo" value="Vote Comment No:"/>
			<h:outputText id="scVoteTransCommentBeanScVoteTransCommentVoteCommentNo" value="#{scVoteTransCommentBean.scVoteTransComment.voteCommentNo}"/>
			<h:outputText/>
			<h:outputLabel for="scVoteTransCommentBeanScVoteTransCommentSdCustUserAccount" value="Sd Cust User Account:"/>
			<h:link id="scVoteTransCommentBeanScVoteTransCommentSdCustUserAccount" outcome="/sdCustUserAccount/view" value="#{scVoteTransCommentBean.scVoteTransComment.sdCustUserAccount}">
				<f:param name="id" value="#{scVoteTransCommentBean.scVoteTransComment.sdCustUserAccount.custUserNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="scVoteTransCommentBeanScVoteTransCommentScVoteTrans" value="Sc Vote Trans:"/>
			<h:link id="scVoteTransCommentBeanScVoteTransCommentScVoteTrans" outcome="/scVoteTrans/view" value="#{scVoteTransCommentBean.scVoteTransComment.scVoteTrans}">
				<f:param name="id" value="#{scVoteTransCommentBean.scVoteTransComment.scVoteTrans.voteNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="scVoteTransCommentBeanScVoteTransCommentVoteCommentText" value="Vote Comment Text:"/>
			<h:outputText id="scVoteTransCommentBeanScVoteTransCommentVoteCommentText" value="#{scVoteTransCommentBean.scVoteTransComment.voteCommentText}"/>
			<h:outputText/>
			<h:outputLabel for="scVoteTransCommentBeanScVoteTransCommentVoteCommentCreatedDtm" value="Vote Comment Created Dtm:"/>
			<h:outputText id="scVoteTransCommentBeanScVoteTransCommentVoteCommentCreatedDtm" value="#{scVoteTransCommentBean.scVoteTransComment.voteCommentCreatedDtm}">
				<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="scVoteTransCommentBeanScVoteTransCommentScVoteTransCommentImages" value="Sc Vote Trans Comment Images:"/>
			<h:dataTable id="scVoteTransCommentBeanScVoteTransCommentScVoteTransCommentImages" styleClass="data-table" value="#{forgeview:asList(scVoteTransCommentBean.scVoteTransComment.scVoteTransCommentImages)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Vote Comment Image No"/>
					</f:facet>
					<h:link outcome="/scVoteTransCommentImage/view">
						<f:param name="id" value="#{_item.voteCommentImageNo}"/>
						<h:outputText id="itemVoteCommentImageNo" value="#{_item.voteCommentImageNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>